package kr.hkit.powerjava.chapter06.assign_for;

public class Four {

	void pattern1() {
		for (int i = 0; i < 7; i++) {
			System.out.println("*******");
		}
	}

	void pattern2() {
		for (int i = 0; i < 7; i++) {
			for (int j = 0; j < i; j++) {
				System.out.print("*");
			}
			System.out.println();
		}
		System.out.println();
	}

	void pattern3() {
		for (int i = 7; i > 0; i--) {
			for (int j = 0; j < i; j++) {
				System.out.print("*");
			}
			System.out.println();
		}
		System.out.println();
	}
}
